{extend name="public/wap_base" /}
{block name="css"}
<link href="/static/css/wap/index.css?r=11111" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.css" />
{/block}
{block name="js"}

{/block}

{block name="title"}
新闻资讯
{/block}

{block name="main"}

<!-- 轮播图 -->
<div class="swiper-container banner-swiper">
    <div class="swiper-wrapper">
        <div class="swiper-slide"><img src="/static/images/wap/04.jpg" alt="banner1" /></div>
    </div>
    <div class="swiper-pagination"></div>
</div>
<!-- 资讯列表 -->
<div class="block-white" style="margin-top: 0px">
    <!-- 新闻资讯 -->
    <div class="news-list">
        <!-- 假设以下为循环输出 -->
        {volist name="list" id="item"}
        <div class="news-info">
            <div class="news-text">
                <div class="news-title">
                    <a href="/ndetail/{$item.id}" title="{$item.title}">{$item.title}</a>
                </div>
                <div class="news-time">{$item.show_time|date='Y-m-d' }</div>
            </div>
            <a href="/ndetail/{$item.id}" class="news-img-link">
                <img src="{$item.thumb}" alt="{$item.title}" />
            </a>
        </div>
         {/volist}
        <!-- 查看更多按钮 -->
        <div id="loadMoreDiv" class="load-more">点击查看更多</div>
    </div>




</div>


<script src="https://cdn.jsdelivr.net/npm/swiper/swiper-bundle.min.js"></script>
<script src="/static/js/wap/index.js"></script>
{/block}